# frv testcase for fnegd $FRj,$FRk
# mach: frv
# as(frv): -mcpu=frv

	.include "testutils.inc"

	double_constants
	start
	load_double_constants

	.global fnegd
fnegd:
	fnegd		fr0,fr2
	test_dfr_dfr	fr2,fr52
	fnegd		fr8,fr2
	test_dfr_dfr	fr2,fr28
	fnegd		fr12,fr2
	test_dfr_dfr	fr2,fr24
	fnegd		fr24,fr2
	test_dfr_dfr	fr2,fr12
	fnegd		fr28,fr2
	test_dfr_dfr	fr2,fr8
	fnegd		fr52,fr2
	test_dfr_dfr	fr2,fr0

	pass
